import {createRouter, createWebHashHistory, createWebHistory, RouteRecordRaw} from "vue-router";

const routes:Array<RouteRecordRaw> = [
    {
        path:'/home',
        component:()=>import('../views/Home/index.vue'),
    },
    {
        path:'/about',
        component:()=>import('../views/About/index.vue'),
    },
    {
        path:'/login',
        component:()=>import('../views/Auth/Login/index.vue'),
    },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
});

export default router;